const { defineConfig } = require('@vue/cli-service')
const CopyPlugin = require('copy-webpack-plugin')
const path = require("path")
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  productionSourceMap:false,
  transpileDependencies: true,
  configureWebpack:{
    plugins:[
      // new CopyPlugin({
      //   patterns: [
      //     // { from: path.resolve(__dirname, "src/ip.json"), },
      //   ],
      // }),
    ]
  },
  pluginOptions:{
    electronBuilder:{
      nodeIntegration: true,
      builderOptions:{
        productName: "CSSM",
        win: {
          asar: false,
          target: [
              "zip"
          ]
        }
      }
    }
  }
})
